#!/bin/bash

file=$2
expected_md5=$1

actual_md5=$(md5sum "$file" | awk '{print $1}')

if [ "$actual_md5" == "$expected_md5" ]; then
    echo "$file: MD5 checksum verified"
else
    echo "$file: MD5 checksum mismatch"
fi

